﻿using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotClientApp.Server.Entity
{
    public class IotDBContext : DbContext
    {
        public IotDBContext(DbContextOptions<IotDBContext> Options) : base(Options)
        {
        }
        public DbSet<Device> Device { get; set; }
        public DbSet<DeviceConfig> DeviceConfig { get; set; }
        public DbSet<Point> Point { get; set; }
    }
}